import { connect } from "react-redux";
// 移除Less导入，使用Tailwind CSS

const LayoutFooter = (props: any) => {
	const { themeConfig } = props;
	return (
		<>
			{!themeConfig.footer && (
				<div className="flex items-center justify-center h-[30px] border-t border-[#e4e7ed]">
					<a
						href="http://www.spicyboy.cn/"
						target="_blank"
						rel="noreferrer"
						className="text-[14px] text-[#858585] no-underline tracking-[0.5px] whitespace-nowrap"
					>
						2022 © 浙江省网管理后台 By Hooks Technology.
					</a>
				</div>
			)}
		</>
	);
};

const mapStateToProps = (state: any) => state.global;
export default connect(mapStateToProps)(LayoutFooter);
